package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdFalProblemreset;
import com.ccp.dev.qbdms.model.WQbdQualitymanage;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import org.apache.ibatis.annotations.Select;

/**
 * 质量管理体系 信息数据库操作类
 *
 * @author 王明亮
 * @date 2020-05-12 10:39:53
 */
@Mapper
public interface WQbdQualitymanageDao extends IBaseMapper<WQbdQualitymanage,String> {

    List<WQbdQualitymanage> queryAll(QueryFilter queryFilter);

    /**
     * 流程审批页面查询通过的数据
     * @param dataId
     * @return
     */
    List<WQbdQualitymanage> reportList(@Param("dataId") String dataId, @Param("tableName") String tableName);

    List<WQbdQualitymanage> queryListBySu(QueryFilter queryFilter);

    List<WQbdQualitymanage> fAudittypeSta(QueryFilter queryFilter);

    List<WQbdQualitymanage> fUnqualifiednatureSta(QueryFilter queryFilter);

    int updateFlowStatus(String id);
}
